home *** CD-ROM | disk | FTP | other *** search
/ Language/OS - Multiplatform Resource Library / LANGUAGE OS.iso / prolog / ai.prl / opnprlg1.hqx / Open Prolog / Open Prolog.rsrc / CODE_19_shutdown.txt < prev    next >
Text File  |  1993-04-15  |  3KB  |  56 lines

  1. # near model CODE resource
  2. # entry label at 0x0000
  3. export_395:
  4. entry:
  5. 00000000  082D 0000 E6CC           btst.b     [A5 - 0x1934], 0x0
  6. 00000006  660C                     bne        +0xE /* 00000014 */
  7. 00000008  3F3C 0012                move.w     -[A7], 0x12
  8. 0000000C  4EAD 04FA                jsr        [A5 + 0x4FA]
  9. label00000010:
  10. 00000010  4EED 053A                jmp        [A5 + 0x53A]
  11. label00000014:
  12. 00000014  2F3C 0000 000C           move.l     -[A7], 0xC
  13. 0000001A  42A7                     clr.l      -[A7]
  14. 0000001C  42A7                     clr.l      -[A7]
  15. 0000001E  3F3C 000F                move.w     -[A7], 0xF
  16. 00000022  4EAD 09FA                jsr        [A5 + 0x9FA]
  17. 00000026  201F                     move.l     D0, [A7]+
  18. 00000028  0C80 0000 0000           cmpi.l     D0, 0x0
  19. 0000002E  67E0                     beq        -0x1E /* 00000010 */
  20. 00000030  7007                     moveq.l    D0, 0x07
  21. 00000032  4E75                     rts
  22. 00000034  4E5E                     unlink     A6
  23. 00000036  4E75                     rts
  24. 00000038  8B42 2573                pack       D5, D2, 0x2573
  25. 0000003C  6875                     bvc        +0x77 /* 000000B3 */
  26. 0000003E  7464                     moveq.l    D2, 0x64
  27. 00000040  6F77                     ble        +0x79 /* 000000B9 */
  28. 00000042  6E20                     bgt        +0x22 /* 00000064 */
  29. 00000044  0000 082D                ori.b      D0, 0x2D /* '-' */
  30. export_396: // at 00000046 (misaligned)
  31. 00000048  0000 E6CC                ori.b      D0, 0xCC
  32. 0000004C  660C                     bne        +0xE /* 0000005A */
  33. 0000004E  3F3C 0013                move.w     -[A7], 0x13
  34. 00000052  4EAD 04FA                jsr        [A5 + 0x4FA]
  35. label00000056:
  36. 00000056  4EED 053A                jmp        [A5 + 0x53A]
  37. label0000005A:
  38. 0000005A  2F3C 0000 000C           move.l     -[A7], 0xC
  39. 00000060  42A7                     clr.l      -[A7]
  40. 00000062  42A7                     clr.l      -[A7]
  41. label00000064:
  42. 00000064  3F3C 0010                move.w     -[A7], 0x10
  43. 00000068  4EAD 09FA                jsr        [A5 + 0x9FA]
  44. 0000006C  201F                     move.l     D0, [A7]+
  45. 0000006E  0C80 0000 0000           cmpi.l     D0, 0x0
  46. 00000074  67E0                     beq        -0x1E /* 00000056 */
  47. 00000076  7008                     moveq.l    D0, 0x08
  48. 00000078  4E75                     rts
  49. 0000007A  4E5E                     unlink     A6
  50. 0000007C  4E75                     rts
  51. 0000007E  8942 2572                pack       D4, D2, 0x2572
  52. 00000082  6573                     bcs        +0x75 /* 000000F7 */
  53. 00000084  7461                     moveq.l    D2, 0x61
  54. 00000086  7274                     moveq.l    D1, 0x74
  55. 00000088  0000                     .incomplete
  56.